package com.dmzc.addon;

public class Utils {
    public static boolean isCoprime(int min, int max) {
        int mod = 0;
        while (min != 1) {
            if ((mod = max % min) == 0) {
                return false;
            }
            max = min;
            min = mod;
        }
        return true;
    }
}
